//
//  ColloquiumViewController.h
//  CoMeT
//
//  Created by Gang on 6/14/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface ColloquiumViewController : UIViewController {
    
    IBOutlet UITableView *mytableView; 
    IBOutlet UILabel *talkTitle;
    IBOutlet UILabel *authorDetail;
    IBOutlet UILabel *location;
    IBOutlet UILabel *time;
    IBOutlet UILabel *viewCount;
    IBOutlet UILabel *bookmarkCount;
    IBOutlet UIButton *bookmarkBtn;
    NSString *detailText;
    NSMutableDictionary *talk;
    BOOL bookmarked;
}

- (CGFloat) cellHeightForText:(NSString *) text;
- (void) bookmark:(NSString *) cid;
- (void) unBookmark:(NSString *)cid;


@property (retain, nonatomic) IBOutlet UITableView *mytableView;
@property (retain, nonatomic) NSMutableDictionary *talk;
@property (retain, nonatomic) IBOutlet UILabel *talkTitle;
@property (retain, nonatomic) IBOutlet UILabel *authorDetail;
@property (retain, nonatomic) IBOutlet UILabel *location;
@property (retain, nonatomic) IBOutlet UILabel *time;
@property (retain, nonatomic) IBOutlet UILabel *viewCount;
@property (retain, nonatomic) IBOutlet UILabel *bookmarkCount;
@property (retain, nonatomic) IBOutlet UIButton *bookmarkBtn;
@property BOOL bookmarked;

@end
